package no.group.gowther.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class OnePieceTag {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long onePieceId;
    private Long tagId;

    public OnePieceTag() {
    }

    public OnePieceTag(Long onePieceId, Long tagId) {
        this.onePieceId = onePieceId;
        this.tagId = tagId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOnePieceId() {
        return onePieceId;
    }

    public void setOnePieceId(Long onePieceId) {
        this.onePieceId = onePieceId;
    }

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }
}
